package com.ssd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 优惠券核销表
 * </p>
 *
 * @author author
 * @since 2024-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("coupon_write_off")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="CouponWriteOff对象", description="优惠券核销表")
public class CouponWriteOff implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @ApiModelProperty(value = "优惠券id")
    private Long couponId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "核销时使用的订单号")
    private Long ordersId;

    @ApiModelProperty(value = "活动id")
    private Long activityId;

    @ApiModelProperty(value = "核销时间")
    private LocalDateTime writeOffTime;

    @ApiModelProperty(value = "核销人手机号")
    private String writeOffManPhone;

    @ApiModelProperty(value = "核销人姓名")
    private String writeOffManName;


}
